<?php
    class iJUploader{
        private $tockens;
        /**
         *
         * This function is Block construct
         *
         * @access public
         */
        public function __construct() {
        }
        
        public function upload($folder) {
          if(!is_dir($folder)) {
            mkdir($folder, 777);
          }
          foreach($_FILES as $upload) {
            move_uploaded_file($upload['tmp_name'], $folder . $upload['name']);
          }
        }
        
 
    }
?>